package cn.stylefeng.guns.sys.modular.dbList.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 数据库列表
 * </p>
 *
 * @author author
 * @since 2020-08-20
 */
@TableName("db_dblist")
public class Dblist implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 数据库名称
     */
    @TableField("dbName")
    private String dbName;

    /**
     * 数据库地址
     */
    @TableField("dbUrl")
    private String dbUrl;

    /**
     * 数据库描述
     */
    @TableField("dbDescribe")
    private String dbDescribe;

    /**
     * 数据库内存
     */
    @TableField("db_memory")
    private String dbMemory;

    /**
     * 审批状态
     */
    @TableField("spState")
    private String spState;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 乐观锁
     */
    @TableField("servicelist_id")
    private Integer serviceListId;

    /**
     * 乐观锁
     */
    @TableField("REVISION")
    private Integer revision;

    /**
     * 创建人
     */
    @TableField("CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("CREATED_TIME")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField("UPDATED_BY")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField("UPDATED_TIME")
    private Date updatedTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbDescribe() {
        return dbDescribe;
    }

    public void setDbDescribe(String dbDescribe) {
        this.dbDescribe = dbDescribe;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getRevision() {
        return revision;
    }

    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getDbUrl() {
        return dbUrl;
    }

    public void setDbUrl(String dbUrl) {
        this.dbUrl = dbUrl;
    }

    public String getDbMemory() {
        return dbMemory;
    }

    public void setDbMemory(String dbMemory) {
        this.dbMemory = dbMemory;
    }

    public Integer getServiceListId() {
        return serviceListId;
    }

    public void setServiceListId(Integer serviceListId) {
        this.serviceListId = serviceListId;
    }

    public String getSpState() {
        return spState;
    }

    public void setSpState(String spState) {
        this.spState = spState;
    }

    @Override
    public String toString() {
        return "Dblist{" +
                "id=" + id +
                ", dbName=" + dbName +
                ", dbUrl=" + dbUrl +
                ", dbDescribe=" + dbDescribe +
                ", state=" + state +
                ", serviceListId=" + serviceListId +
                ", dbMemory=" + dbMemory +
                ", spState=" + spState +
                ", revision=" + revision +
                ", createdBy=" + createdBy +
                ", createdTime=" + createdTime +
                ", updatedBy=" + updatedBy +
                ", updatedTime=" + updatedTime +
                "}";
    }
}
